﻿<%@ Page Language="VB" MasterPageFile="~/Interfaz/MasterPage.master" AutoEventWireup="false" CodeFile="frmSistemaConfiguracionMail.aspx.vb" Inherits="Interfaz_frmSistemaConfiguracionMail" title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<center>
                <table style="width: 70%;">
                    <tr>
                        <td style="width: 24%; height: 18px; text-align: right">
                        </td>
                        <td style="width: 1%; height: 18px; text-align: left">
                        </td>
                        <td style="width: 25%; height: 18px; text-align: left">
                        </td>
                        <td style="width: 24%; height: 18px; text-align: left">
                        </td>
                        <td style="width: 1%; height: 18px; text-align: left">
                        </td>
                        <td style="width: 25%; height: 18px; text-align: left">
                        </td>
                    </tr>
                    <tr>
                        <td colspan="6" style="width: 100%; height: 18px; text-align: center">
                            <strong>AGREGAR NUEVA CUENTA CORREO</strong></td>
                    </tr>
                    <tr>
                        <td style="width: 214px; height: 18px; text-align: right">
                        </td>
                        <td style="width: 227px; height: 18px; text-align: left">
                        </td>
                        <td style="width: 227px; height: 18px; text-align: left">
                        </td>
                        <td style="width: 227px; height: 18px; text-align: left">
                        </td>
                        <td style="width: 227px; height: 18px; text-align: left">
                        </td>
                        <td style="width: 227px; height: 18px; text-align: left">
                        </td>
                    </tr>
                    <tr>
                        <td style="width: 214px; height: 18px; text-align: left">
                            SMTP HOST </td>
                        <td style="width: 227px; height: 18px; text-align: left">
                            :</td>
                        <td style="width: 227px; height: 18px; text-align: left">
                            <asp:TextBox ID="TxtSMTP" runat="server" Width="200px"></asp:TextBox></td>
                        <td style="width: 227px; height: 18px; text-align: left">
                        </td>
                        <td style="width: 227px; height: 18px; text-align: left">
                        </td>
                        <td style="width: 227px; height: 18px; text-align: left">
                        </td>
                    </tr>
                    <tr>
                        <td style="width: 214px; height: 22px; text-align: left">
                            Nombre Cuenta Default<strong> </strong>
                        </td>
                        <td style="width: 227px; height: 22px; text-align: left">
                            :</td>
                        <td style="width: 227px; height: 22px; text-align: left">
                            <asp:TextBox ID="TxTNombreCuenta" runat="server" Width="200px">ejemplo@ejemplo.cl</asp:TextBox></td>
                        <td style="width: 227px; height: 22px; text-align: left">
                        </td>
                        <td style="width: 227px; height: 22px; text-align: left">
                        </td>
                        <td style="width: 227px; height: 22px; text-align: left">
                        </td>
                    </tr>
                    <tr>
                        <td style="width: 214px; height: 22px; text-align: left">
                            Password<strong> </strong>
                        </td>
                        <td style="width: 227px; height: 22px; text-align: left">
                            :</td>
                        <td style="width: 227px; height: 22px; text-align: left">
                            <asp:TextBox ID="TxTPass" runat="server" Width="200px"></asp:TextBox></td>
                        <td style="width: 227px; height: 22px; text-align: left">
                        </td>
                        <td style="width: 227px; height: 22px; text-align: left">
                        </td>
                        <td style="width: 227px; height: 22px; text-align: left">
                        </td>
                    </tr>
                    <tr>
                        <td style="width: 214px; height: 22px; text-align: left">
                            Repita Password<strong> </strong>
                        </td>
                        <td style="width: 227px; height: 22px; text-align: left">
                            :</td>
                        <td style="width: 227px; height: 22px; text-align: left">
                            <asp:TextBox ID="TxTRepite" runat="server" Width="200px"></asp:TextBox></td>
                        <td style="width: 227px; height: 22px; text-align: left">
                        </td>
                        <td style="width: 227px; height: 22px; text-align: left">
                        </td>
                        <td style="width: 227px; height: 22px; text-align: left">
                        </td>
                    </tr>
                    <tr>
                        <td style="width: 214px; height: 22px; text-align: right">
                        </td>
                        <td style="width: 227px; height: 22px; text-align: left">
                        </td>
                        <td style="width: 227px; height: 22px; text-align: left">
                        </td>
                        <td style="width: 227px; height: 22px; text-align: left">
                        </td>
                        <td style="width: 227px; height: 22px; text-align: left">
                        </td>
                        <td style="width: 227px; height: 22px; text-align: left">
                        </td>
                    </tr>
                    <tr>
                        <td colspan="6" style="width: 100%; height: 22px; text-align: center">
                <asp:Button ID="BtnSetear1Cuenta" runat="server" Text="Ingresar" Width="70px" /></td>
                    </tr>
                    <tr>
                        <td style="width: 214px; height: 22px; text-align: right">
                        </td>
                        <td style="width: 227px; height: 22px; text-align: left">
                        </td>
                        <td style="width: 227px; height: 22px; text-align: left">
                        </td>
                        <td style="width: 227px; height: 22px; text-align: left">
                        </td>
                        <td style="width: 227px; height: 22px; text-align: left">
                        </td>
                        <td style="width: 227px; height: 22px; text-align: left">
                        </td>
                    </tr>
                    <tr runat="server" id = "filaTexto" >
                        <td colspan="6" style="width: 100%; height: 22px; text-align: center">
                            <strong>REVISAR CONFIGURACIONES EXISTENTES</strong></td>
                    </tr>
                    <tr>
                        <td colspan="6" style="width: 100%; height: 22px; text-align: right">
                <asp:GridView ID="GridConfigMail" runat="server" AllowSorting="True" AutoGenerateColumns="False" CellPadding="4"
             ForeColor="#333333" GridLines="None"  Width="933px" CssClass="mGrid">
             <RowStyle BackColor="#EFF3FB" />
                    <Columns>
                        <asp:BoundField DataField="NUMERO" HeaderText="Numero">
                            <ItemStyle HorizontalAlign="Center" />
                        </asp:BoundField>
                        <asp:BoundField DataField="SMTPHOST" HeaderText="SMTP HOST">
                            <ItemStyle HorizontalAlign="Center" />
                        </asp:BoundField>
                        <asp:BoundField DataField="NOMBRECUENTA" HeaderText="NOMBRE CUENTA">
                            <ItemStyle HorizontalAlign="Center" />
                        </asp:BoundField>
                        <asp:BoundField DataField="PASSWORD" HeaderText="PASSWORD">
                            <ItemStyle HorizontalAlign="Center" />
                        </asp:BoundField>
                        <asp:BoundField DataField="ESTADO" HeaderText="ESTADO" />
                        <asp:TemplateField HeaderText="SELECCIONAR">
                            <ItemTemplate>
                                <asp:CheckBox ID="itemSelector" runat="server" />
                            </ItemTemplate>
                        </asp:TemplateField>
                    </Columns>
                    <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
                    <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
                    <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
                    <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
                    <EditRowStyle BackColor="#2461BF" />
                    <AlternatingRowStyle BackColor="White" />
                </asp:GridView>
                        </td>
                    </tr>
                    <tr>
                        <td colspan="6" style="width: 100%; height: 22px; text-align: center">
                <asp:Button ID="BtnSetearCuentasExistente" runat="server" Text="Setear" Width="70px" /></td>
                    </tr>
                </table>
                </center>
</asp:Content>

